<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        function Star(name, age) {
            this.name = name
            this.age = age
        }

        const pq = new Star('佩奇', 6)

        console.log(Star.prototype === pq.__proto__);//true
        console.log(pq.__proto__.constructor === Star);//true

        console.log(pq.__proto__.__proto__ === Object.prototype);//true
        console.log(pq.__proto__.__proto__.constructor === Object);//true
        
        console.log();
    </script>O
</body>

</html>